package com.jeasonzhao.report.vml.base;


public class ImageData extends BaseElement
{
    private String m_attr_src = null;
    private int m_attr_cropLeft = 0;
    private int m_attr_cropTop = 0;
    private int m_attr_cropRight = 0;
    private int m_attr_cropBottom = 0;
    private double m_attr_gain = 1; //Adjusts the intensity of all colors. Essentially sets how bright white will be.
    private double m_attr_blackLevel = 0; //Allows adjustment to set the level so that blacks appear as true blacks, and all other colors are visible as shades above black.
    private double m_attr_gamma = 1;
    private String m_attr_chromaKey = null;
    private boolean m_attr_grayScale = false;
    private boolean m_attr_boLevel = false;
    public ImageData()
    {
        super();
    }

    public boolean isBiLevel()
    {
        return m_attr_boLevel;
    }

    public String getChromaKey()
    {
        return m_attr_chromaKey;
    }

    public int getCropBottom()
    {
        return m_attr_cropBottom;
    }

    public int getCropLeft()
    {
        return m_attr_cropLeft;
    }

    public int getCropRight()
    {
        return m_attr_cropRight;
    }

    public double getGain()
    {
        return m_attr_gain;
    }

    public boolean isGrayScale()
    {
        return m_attr_grayScale;
    }

    public double getGamma()
    {
        return m_attr_gamma;
    }

    public String getSrc()
    {
        return m_attr_src;
    }

    public int getCropTop()
    {
        return m_attr_cropTop;
    }

    public double getBlackLevel()
    {
        return m_attr_blackLevel;
    }

    public void setSrc(String src)
    {
        this.m_attr_src = src;
    }

    public void setGrayScale(boolean grayScale)
    {
        this.m_attr_grayScale = grayScale;
    }

    public void setGamma(double gamma)
    {
        this.m_attr_gamma = gamma;
    }

    public void setGain(double gain)
    {
        this.m_attr_gain = gain;
    }

    public void setCropTop(int cropTop)
    {
        this.m_attr_cropTop = cropTop;
    }

    public void setCropRight(int cropRight)
    {
        this.m_attr_cropRight = cropRight;
    }

    public void setCropLeft(int cropLeft)
    {
        this.m_attr_cropLeft = cropLeft;
    }

    public void setCropBottom(int cropBottom)
    {
        this.m_attr_cropBottom = cropBottom;
    }

    public void setChromaKey(String chromaKey)
    {
        this.m_attr_chromaKey = chromaKey;
    }

    public void setBlackLevel(double blackLevel)
    {
        this.m_attr_blackLevel = blackLevel;
    }

    public void setBiLevel(boolean biLevel)
    {
        this.m_attr_boLevel = biLevel;
    }
}
